#include "title_send.h"

string network::title_send::get_string()
{
	create_open_object("title");
	create_close_object("title");
	create_attrib("name", _tit->get_title());
	create_attrib("file", _tit->get_filename());

	stringstream strm;
	strm << _tit->get_duration();

	create_attrib("duration", strm.str());
	string tmp = get_header();
	tmp += get_footer();
	return tmp;
}

